Skip to content

Dont use default for switch name, so that the object id is used#7845

Merged
balloob merged 1 commit into
home-assistant:devfrom
abmantis:broadlink_name_fix
Jun 2, 2017
Merged

Dont use default for switch name, so that the object id is used#7845
balloob merged 1 commit into
home-assistant:devfrom
abmantis:broadlink_name_fix

Conversation

@abmantis
Copy link
Copy Markdown
Member

Description:

Currently the sub-switches have a default friendly_name, which prevents them from getting the entity_id from the yaml id and instead end up as "broadlink_switch", "broadlink_switch_1", "broadlink_switch_2", etc (which can change between reboots).
This fixes it by removing the default.

@balloob
Copy link
Copy Markdown
Member

balloob commented Jun 2, 2017

Thanks!

@balloob balloob mentioned this pull request Jun 2, 2017
@abmantis abmantis deleted the broadlink_name_fix branch August 11, 2017 23:02
@home-assistant home-assistant locked and limited conversation to collaborators Dec 11, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants